package com.aoxin.model.activity;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
 * 推荐金额
 * @author lop
 * @date 2018年4月27日 下午8:58:59
 */
public class SlfRecommendMoney {
	/**
	 * id
	 */
	private Integer recommendMoneyId;
	/**
	 * 推荐人id
	 */
	private Integer refereeId;
	/**
	 * 被推荐人ID
	 */
	private Integer referralsId;
	/**
	 * 推荐人姓名
	 */
	private String refereeName;
	/**
	 * 被推荐人姓名
	 */
	private String referralsName;
	/**
	 * 推荐金额
	 */
	private BigDecimal recommendMoney;
	/**
	 * 是否提现
	 */
	private Integer isWithdraw;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 创建时间
	 */
	private String createDateSrc;
	/**
	 * 头像
	 */
	private String headPortrait;

	public Integer getRecommendMoneyId() {
		return recommendMoneyId;
	}

	public void setRecommendMoneyId(Integer recommendMoneyId) {
		this.recommendMoneyId = recommendMoneyId;
	}

	public Integer getRefereeId() {
		return refereeId;
	}

	public void setRefereeId(Integer refereeId) {
		this.refereeId = refereeId;
	}


	public Integer getReferralsId() {
		return referralsId;
	}

	public void setReferralsId(Integer referralsId) {
		this.referralsId = referralsId;
	}

	public String getRefereeName() {
		return refereeName;
	}

	public void setRefereeName(String refereeName) {
		this.refereeName = refereeName;
	}

	public String getReferralsName() {
		return referralsName;
	}

	public void setReferralsName(String referralsName) {
		this.referralsName = referralsName;
	}

	public BigDecimal getRecommendMoney() {
		return recommendMoney;
	}

	public void setRecommendMoney(BigDecimal recommendMoney) {
		this.recommendMoney = recommendMoney;
	}

	public Integer getIsWithdraw() {
		return isWithdraw;
	}

	public void setIsWithdraw(Integer isWithdraw) {
		this.isWithdraw = isWithdraw;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		SimpleDateFormat format =  new SimpleDateFormat("yyyy-MM-dd");  
		this.createDateSrc = format.format(createDate);
		this.createDate = createDate;
	}

	public String getHeadPortrait() {
		return headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait;
	}

	public String getCreateDateSrc() {
		return createDateSrc;
	}

	public void setCreateDateSrc(String createDateSrc) {
		this.createDateSrc = createDateSrc;
	} 
}
